package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.etone.smartAudit.enums.OnlineState;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: sovy
 * @date: 2021/1/6
 * @description: 产品地图
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "d_product_map")
public class ProductMap implements Serializable {
    /**
     * ID
     */
    @TableId(value = "intId", type = IdType.INPUT)
    private Integer id;

    /**
     * 类型id
     */
    @TableField(value = "intTypeId")
    private Integer typeId;

    /**
     * 产品服务能力代码
     */
    @TableField(value = "vcAbilityCode")
    private String abilityCode;

    /**
     * 产品服务能力名称
     */
    @TableField(value = "vcAbilityName")
    private String abilityName;

    /**
     * 适应范围
     */
    @TableField(value = "vcApplicationScope")
    private String applicationScope;

    /**
     * 对应链接
     */
    @TableField(value = "vcUrl")
    private String url;

    /**
     * 是否内部链接
     */
    @TableField(value = "isInUrl")
    private Boolean isInUrl;

    /**
     * 在线状态
     */
    @TableField(value = "vcOnlineState")
    private OnlineState onlineState;

    /**
     * 排序
     */
    @TableField(value = "intSort")
    private Integer sort;

    /**
     * 状态
     */
    @TableField(value = "vcState")
    private String state;

    /**
     * 研发完成时间
     */
    @TableField(value = "dtDevelopEndTime")
    private Date developEndTime;

    /**
     * 创建时间
     */
    @TableField(value = "dtCreateTime")
    private Date createTime;

    /**
     * 编辑时间
     */
    @TableField(value = "dtUpdateTime")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}